package com.initialize.service.api.system.entity;

import com.initialize.common.mybatis.plus.entity.Role;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: jane
 * Date: 2020/1/9
 * Time: 11:14 下午
 * Description:
 */
@Data
@Builder
public class UserInfo {

    public UserInfo() {
    }

    public UserInfo(String userName, String password, List<Role> roles) {
        this.userName = userName;
        this.password = password;
        this.roles = roles;
    }

    private String userName;

    private String password;

    private List<Role> roles;


}
